package per.kongtouxu.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import per.kongtouxu.domain.pojo.FileInfo;
import per.kongtouxu.domain.pojo.FileType;
import per.kongtouxu.domain.vo.V_FileInfo;

import java.util.List;

@Repository
public interface FileInfoDao {
    //分页查询
    public List<V_FileInfo> findFileInfoBypage(@Param("FileName") String FileName, @Param("startTime") String startTime, @Param("endTime") String endTime,@Param("fileState")Integer fileState, @Param("rb") RowBounds rb);
    //分页查询数量
    public Integer findCountFileInfoByPage(@Param("FileName") String FileName, @Param("startTime") String startTime, @Param("endTime") String endTime,@Param("fileState")Integer fileState);
    //审核操作
    public void updateCheck(@Param("fileStateId") Integer fileStateId,@Param("fileId") Integer fileId,@Param("LoginId") Integer LoginId);
}
